import request from '@/utils/request'

export function getFacCount(token) {
    return request({
        url: '/facility/getFacCount',
        method: 'get',
        params: { token }
    })
}

export function getpoints(token) {
    return request({
        url: '/facility/getPoint',
        method: 'post',
        params: { token }
    })
}
export function getfaultMessage(token) {
    return request({
        url: '/vue-admin-template/map/faultMessage',
        method: 'get',
        params: { token }
    })
}
export function getPointMessage(data) {
    return request({
        url: '/facility/getPointMessage',
        method: 'post',
        data
    })
}